Welcome to Greasy Fork, a site for user scripts. · Step 1: install a user script manager · Step 2: install a user script · Step 3: use the user script. Greasy Fork · User scripts on Greasy Fork... · User scripts · MooMoo.io
I've a simple shell script like #!/bin/bash sh -c sleep 60 & exec sleep 120 In using the pstree command, I found something like `-sleep(11681)---sleep(11682)
Yes, it's called subshells. Shell code inside parenthesis is run as a subshell (fork). However the first shell normally waits for the child to complete.